/*
 * @Autor: lh
 * @Date: 2023-09-26 14:26:16
 * @LastEditors: lh
 * @LastEditTime: 2023-10-17 11:08:41
 * @Description:
 */
import { request } from "@/utils/service"

/** 专业监理负责人审核 */
export function supervisionExamineQuit(data: any) {
  return request({
    url: "/receivingLetters/supervisionExamineQuit",
    method: "post",
    data
  })
}

/** 总监,副总监审核 */
export function directorExamineQuit(data: any) {
  return request({
    url: "/receivingLetters/directorExamineQuit",
    method: "post",
    data
  })
}

/** 发函渠道 通过发文方代码、收文方代码和发函类型 获取流水号 */
export function getFlowingNum(data: any) {
  return request({
    url: "/sendChannelNum/getFlowingNum",
    method: "post",
    data
  })
}

/** 收文函件表控制层 批分收文函件责任人 */
export function batchDivisionResponsible(data: any) {
  return request({
    // url: "/putLetters/batchDivisionResponsible",
    url: "/putLetters/directorDistribution",
    method: "post",
    data
  })
}

/** 收文函件表控制层 批分收文函件责任人部门 */
export function batchDivisionDepartment(data: any) {
  return request({
    url: "/putLetters/departmentDistribution",
    method: "post",
    data
  })
}
/** 收文函件表控制层 责任人编辑 */
export function responsibleEdit(data: any) {
  return request({
    url: "/putLetters/sponsorConfirm",
    method: "post",
    data
  })
}
